<div class="row">
    <div class="col-md-3">
        <h2><kbd><?php echo __('Actions'); ?></kbd></h2>
        <hr/>
        <ul class="nav nav-stacked">

            <li><?php echo $this->Html->link(__('List Wallets'), array('action' => 'index')); ?></li>
            <li><?php echo $this->Html->link(__('List Users'), array('controller' => 'users', 'action' => 'index')); ?></li>
            <li><?php echo $this->Html->link(__('New User'), array('controller' => 'users', 'action' => 'add')); ?></li>
            <li><?php echo $this->Html->link(__('List Transactions'), array('controller' => 'transactions', 'action' =>
                    'index')); ?>
            </li>
            <li><?php echo $this->Html->link(__('New Transaction'), array('controller' => 'transactions', 'action' =>
                    'add')); ?>
            </li>
        </ul>
    </div>
    <div class="col-md-9">
        <?php echo $this->Form->create('Wallet', array('class' => 'form-horizontal', 'inputDefaults' => array('label' =>
            false))); ?>
        <fieldset>
            <h2><kbd><?php echo __('Add Wallet'); ?></kbd></h2>
            <hr/>
            <div class="col-md-2">
                <div class="well col-md-12 pull-left">
                    <p class="col-md-12"><span
                            class="glyphicon glyphicon-user"></span><?php echo $currentUser['username']; ?></p>
                    <?php $image = $profile['Profile']['avatar'];
                    echo $this->Html->image("/uploads/{$image}", array('class' => 'img-thumbnail avatar-add')); ?>

                </div>
                <?php echo $this->Form->input('user_id', array('type' => 'hidden', 'value' => $currentUser['id'])); ?>
            </div>
            <div class="col-md-10">
                <div class="form-group col-md-10">
                    <label for="Name Wallet:" class="col-md-4 control-label">Name Wallet</label>

                    <div class="col-md-5">
                        <?php echo $this->Form->input('name', array('placeholder' => 'Name Wallet ...', 'class' =>
                            'form-control')); ?>
                    </div>
                </div>
                <div class="form-group col-md-10">
                    <label for="current_money" class=" col-md-4  control-label">Current Money</label>

                    <div class="col-md-5">
                        <div class="input-group">
                            <input name="data[Wallet][current_money]" placeholder="Money ..." required=""
                                   class="form-control"/>
                            <span class="input-group-addon">VNĐ</span>
                        </div>
                    </div>
                </div>

                <div class="form-group col-md-5">
                    <div class="col-md-6 col-md-offset-2">
                        <?php echo $this->Form->Submit('Ok', array('class' => 'btn btn-info form-control')); ?>
                    </div>
                </div>
            </div>


        </fieldset>
        <?php echo $this->Form->end(); ?>
    </div>

</div>